package com.ngu.sys.user.services;

import com.ngu.sys.user.model.TSysUser;
import com.ngu.util.AjaxResponse;

import javax.servlet.http.HttpSession;

/**
* @Description:    用户操作逻辑层Servie
* @Author:         hq
* @CreateDate:     2019/9/28 2019/9/28
* @UpdateUser:     hq
* @UpdateDate:     2019/9/28 2019/9/28
* @UpdateRemark:   修改内容
* @Version:        1.0
*/
public interface SysUserService {
    /**
    * 查询所有用户
    * @author      hq
    * @date        2019/9/28 12:07
    */
    public  Object findSysUserList(TSysUser user);


    /**
    * 根据用户名和密码匹配进行登录
    * @author      hq
    * @date        2019/9/28 16:42
    */
    public AjaxResponse userLogin(TSysUser user, HttpSession session);

    /**
    * 退出登录
    * @author      hq
    * @date        2019/10/2 18:56
    */
    public AjaxResponse loginOut(HttpSession session);


}
